/**
 * API列表，建议最多两层嵌套
 *
 * url值的格式为 String/Object
 * String: url的值
 * Object：{ // axios config options
 *  url: '',
 *  method: '',// get/post/put/delete, 为URL的请求方法，不写默认为post
 *  baseUrl: ''
 * }
 */

import env from '@/config/env';

const apiGateway = env.apiGateway;
console.log(apiGateway)

export default {
  // getProductList: '/custProduct/getList',
  // qureyUserBaseInfo: '/user/qureyUserBaseInfo', // 获取用户信息
  // getDataIntegrity: '/user/getDataIntegrity', // 获取用户五项填字信息
  // addOrUpdateUserBaseInfo: '/user/bukouqiaOrUpdateUserBaseInfo',
  // queryUserJobInfo: '/user/queryUserJobInfo',
  // addOrUpdateUserJobInfo: '/user/addOrUpdateUserJobInfo ',
  // queryUserContactsInfo: '/user/queryUserContactsInfo',
  // addOrUpdateUserContactsInfo: '/user/addOrUpdateUserContactsInfo',
  // addOrUpdateUserCardId: '/user/addOrUpdateUserCardId',
  // queryUserCardId: '/user/queryUserCardId',
  // queryAccountList: '/account/queryAccountList',
  // getVersionUpdateInfo: '/version/getVersionUpdateInfo',
  // orderList: '/custProduct/getList',
  // checkFaceVaild: '/cust/checkFaceVaild',
  // queryPayChannel: '/cust/queryPayChannel',
  // createOrder: '/cust/createOrder',
  // orderInfo: '/cust/orderInfo',
  // getMixRepayConfig: '/cust/queryRepayChannelConfig', // 获取还款方式配置
  // getOrderByOrderId: '/cust/orderInfo', // 根据订单号查询订单信息
  // createMixRepayCharge: '/cust/queryRepayCode', // 获取还款码或者地址
  // updateLoanAccount: '/cust/updateLoanAccount',
  // getAppDay90Setting: '/config/getAppDay90Setting',
  // getAppSettingOne: '/config/getAppSettingOne',
  // getZmdInformation: '/message/getZmdInformation',
  // fileUpload: '/file/uploadFile', // @todo zm formdata类型不走混淆
  // associationFaceDetection: '/user/associationFaceDetection', // @todo zm 无
  // getServiceTelAndEmail: '/version/getServiceTelAndEmail', // @todo zm 无
  // delayList: '/cust/delayList', // 查询订单展期配置信息
  // windowSwitch:'/cust/windowSwitch'
  // 双旦活动
  // activityWindow: '/activity/window', // 弹窗接口
  // activityDetail: '/activity/detail', // 活动详情页
  // withdrawalApply: '/activity/withdrawalApply', // 用户申请提现
  // withdrawalApplyList: '/activity/withdrawalApplyList', // 询提现记录接口
  // trackpointOrder: "/signsource/appflyer/trackpointOrder/", // AF用户下单埋点
  // getListNew: "/custProduct/getListNew", // 查询产品列表新接口

  getProductList: "/petoprodusix/listpdRequestInter/",
  qureyUserBaseInfo: "/petousero/qubasedpRequestInter/", // 获取用户信息
  getDataIntegrity: "/petousero/geDatadStpateRequestInter/", // 获取用户五项填字信息
  addOrUpdateUserBaseInfo: "/petousero/addBasedpRequestInter/",
  queryUserJobInfo: "/petousero/queryJobdpRequestInter/",
  addOrUpdateUserJobInfo: "/petousero/addJobdpRequestInter/",
  queryUserContactsInfo: "/petousero/queryContactdpRequestInter/",
  addOrUpdateUserContactsInfo: "/petousero/addContactdpRequestInter/",
  addOrUpdateUserCardId: "/petousero/addCarddpRequestInter/",
  queryUserCardId: "/petousero/queCarddpRequestInter/",
  queryAccountList: "/petousero/queryBankpdListRequestInter/",
  getVersionUpdateInfo: "/petoversionnine/updatepdRequestInter/",
  orderList: "/petoordert/listorpdRequestInter/",
  checkFaceVaild: "/petoordert/querypdFaceRequestInter/",
  queryPayChannel: "/petoordert/querypdpayListRequestInter/",
  createOrder: "/petoordert/adddOrpdRequestInter/",
  orderInfo: "/petoordert/detailpdRequestInter/",
  getMixRepayConfig: "/petoordert/querypdRepayChanRequestInter/", // 获取还款方式配置
  getOrderByOrderId: "/petoordert/detailpdRequestInter/", // 根据订单号查询订单信息
  createMixRepayCharge: "/petoordert/querypdRepayResultRequestInter/", // 获取还款码或者地址
  updateLoanAccount: "/petoordert/updatepdAccountRequestInter/",
  getAppDay90Setting: "/petoappseseven/apppdninetyRequestInter/",
  getAppSettingOne: "/petoappseseven/onesepdttingRequestInter/",
  getZmdInformation: "/petomessath/zmdpdRequestInter/",
  fileUpload: "/file/uploadFile", // @todo zm formdata类型不走混淆
  associationFaceDetection: "/user/associationFaceDetection", // @todo zm 无
  getServiceTelAndEmail: "/version/getServiceTelAndEmail", // @todo zm 无
  delayList: "/petoordert/getDelaypInfoRequestInter/", // 查询订单展期配置信息
  windowSwitch: "/petoordert/getLoanDialopgRequestInter/",
  // 双旦活动
  activityWindow: "/petoordert/activitywindow/", // 弹窗接口
  activityDetail: "/petoordert/activitydetail/", // 活动详情页
  withdrawalApply: "/petoordert/withdrawalApply/", // 用户申请提现
  withdrawalApplyList: "/petoordert/withdrawalApplyList/", // 询提现记录接口
  trackpointOrder: "/petoordert/trackpointOrder/", // AF用户下单埋点
  // 控制息费展示
  switch: "/petoordert/interestChargesSwicth/", //控制息费展示
  buryPoint: {
    baseUrl: apiGateway,
    // http://192.168.8.110:8060/trackPoint/saved
    url: '/petotrackele/savedPeyRe/'
    // url: '/trackPoint/saved'
  },
  getListNew: "/petoordert/getListNewPeyRe/" // 查询产品列表新接口
};
